/**
 * Tasks controller
**/

Ext.define('TD.controller.Tasks', {
	extend: 'Ext.app.Controller',
	
	init: function(){
		try{console.log('Initialized Tasks');}catch(e){}
		this.control({
			'viewport > tasksPanel': {
				render: this.onPanelRendered
			}
		});
	},
	
	views: ['tasks.TasksView', 'tasks.TasksPanel'],
	
	onPanelRendered: function(){
		try{console.log('Tasks Panel Rendered');}catch(e){}
	}
});